from django.db import models

TOPIC_CHOICES = (
            ('baseball', 'Baseball'),
            ('basketball', 'Basketball'),
            ('tennis', 'Tennis'),
            ('football', 'Football'),
            ('Soccer', 'Soccer'),
            )

# Create your models here.
class Game(models.Model):
    sport = models.CharField(max_length=30)
    #sport = forms.ChoiceField(choices=TOPIC_CHOICES)
    organizer = models.CharField(max_length=20)
    date = models.DateTimeField('Date & Time', blank=True)
    
    class Admin: pass
        
    def __unicode__(self):
        return self.sport
    
    
class Location(models.Model):
    city = models.CharField(max_length=30)
    
    class Admin:pass
    
    def __unicode__(self):
        return self.city
